Skip to main content

Tree of Thoughts

Tree of Thoughts

  • Agents
  • Stage 3 · Going Deeper
  • refs checked 2026-11-19
What problem it solves

Turn a single chain of thought into a searchable tree of branches that can be scored and rolled back.

What it is
Each node is an intermediate thought; the model can expand several candidate branches. An evaluator scores branches and prunes the clearly bad ones. The search can backtrack to an earlier node instead of committing to one wrong path.
Why it matters

Complex planning, maths and multi-step writing often fail one step at a time. Tree of Thoughts makes generation searchable.

Sources
  • Tree of Thoughts: Deliberate Problem Solving with Large Language Models (arXiv 2305.10601) ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →